{% extends 'base.html' %}
{% load static %}
{% block extjs %}
    <script type="text/javascript" src="/static/app/order/order.js"></script>
{% endblock %}
{% block content %}
    <div id="order_info" class="container">
        <h3>订单编号:{{ order.o_num }}</h3>
        <ul>
            {% for goodsorder in order.goodsorder_set.all %}
                <li><img src="{{ goodsorder.goods.productimg }}">
                    <span>数量:{{ goodsorder.nums }}</span></li>
            {% endfor %}
        </ul>
    <button id="alipay" class="btn btn-success btn-block" orderid="{{ order.id }}">Alipay</button>
    </div>
{% endblock %}